from django.urls import path

from zanhu02.messager import views

app_name = "messager"
urlpatterns = [
    path('', views.MessageListView.as_view(), name="message_list"),
    path('send-message/', views.send_message, name="send_message"),
    # path('received-message/', views.receive_message, name="received_message"),
    path('<str:username>/', views.ConversationListView.as_view(), name="conversation_detail"),
]